package com.it.bean;

import lombok.AllArgsConstructor;
import lombok.Getter;
import lombok.ToString;

@AllArgsConstructor
@Getter
@ToString
public enum RestStatusEnum {
    SUCCESS(20000, "成功"),
    ERROR(10001, "服务器内部错误"),
    PARAMS_ERROR(10002, "参数不合法"),
    ERROR_TOKEN(50008, "非法的token"),
    TOKEN_EXPRIE(50014, "Token 过期了"),
    PAGE_ERROR(10003, "page参数不合法"),
    ORDER_SAATUS(10003, "修改失败，确认是否已付款"),
    ERROR_SEND_STATUS(10004, "修改失败，已发货");
    private Integer code;
    private String msg;

}
